home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / Centri / Centri.dir / 00194_Squiggle38.ls < prev    next >
Encoding:
Text File  |  1999-02-25  |  732 b   |  22 lines

  1. on enterFrame me
  2.   if the locH of sprite the spriteNum of me < 150 then
  3.     set the locH of sprite the spriteNum of me to the locH of sprite the spriteNum of me + 10
  4.   else
  5.     if the locH of sprite the spriteNum of me > 10 then
  6.       set the locH of sprite the spriteNum of me to the locH of sprite the spriteNum of me - 10
  7.     end if
  8.   end if
  9. end
  10.  
  11. on mouseWithin me
  12.   set the locH of sprite the spriteNum of me to the mouseH
  13.   set the locV of sprite the spriteNum of me to the mouseV
  14.   set the memberNum of sprite the spriteNum of me to 238
  15.   set the height of sprite the spriteNum of me to 80
  16. end
  17.  
  18. on mouseLeave me
  19.   set the memberNum of sprite the spriteNum of me to 237
  20.   set the height of sprite the spriteNum of me to 15
  21. end
  22.